
import time
from unints_PO.Toolss import Tools
import unittest

from selenium import webdriver

from unints_PO.Page import Page

class Test_cese(unittest.TestCase):
    def setUp(self):
        self.driver=webdriver.Edge()
        Tools().rizhi()

    def tearDown(self):
        time.sleep(10)
        self.driver.quit()

    def test_baidu_01(self):
        po=Page(self.driver) #创建page对象
        po.baidu_luoji() #执行百度搜索业务逻辑

if __name__ == '__main__':
    unittest.main()
